<% if lang == 'rus' 
    if current == -1
     main_picture = 'buttons_main_c.jpg'
     main_picture_m = 'buttons_main_cm.jpg'
    else
     main_picture = 'buttons_main.jpg'
     main_picture_m = 'buttons_main_m.jpg'
    end  
  
    if current == 0
     about_picture = 'buttons_about_c.jpg'
     about_picture_m = 'buttons_about_cm.jpg'
    else
     about_picture = 'buttons_about.jpg'
     about_picture_m = 'buttons_about_m.jpg'
    end
  
    if current == 1
     serv_picture = 'buttons_serv_c.jpg'
     serv_picture_m = 'buttons_serv_cm.jpg'
    else
     serv_picture = 'buttons_serv.jpg'
     serv_picture_m = 'buttons_serv_m.jpg'
    end
  
    if current == 2
      price_picture = 'buttons_price_c.jpg'
      price_picture_m = 'buttons_price_cm.jpg'  
    else  
      price_picture = 'buttons_price.jpg'
      price_picture_m = 'buttons_price_m.jpg'   
    end
      
    if current == 3
      cont_picture = 'buttons_cont_c.jpg'
      cont_picture_m = 'buttons_cont_cm.jpg'
    else
      cont_picture = 'buttons_cont.jpg'
      cont_picture_m = 'buttons_cont_m.jpg'
    end
    
    main_link = root_path  
    about_link = about_static_pages_path
    serv_link = service_01_static_pages_path
    price_link = price_static_pages_path
    cont_link = contact_static_pages_path
        
   elsif lang == 'eng'
    if current == -1
     main_picture = 'button_main_eng_c.jpg'
     main_picture_m = 'button_main_eng_cm.jpg'
    else
     main_picture = 'button_main_eng.jpg'
     main_picture_m = 'button_main_eng_m.jpg'
    end    
  
    if current == 0
     about_picture = 'button_about_eng_c.jpg'
     about_picture_m = 'button_about_eng_cm.jpg'
    else
     about_picture = 'button_about_eng.jpg'
     about_picture_m = 'button_about_eng_m.jpg'
    end
  
    if current == 1
     serv_picture = 'button_serv_eng_c.jpg'
     serv_picture_m = 'button_serv_eng_cm.jpg'
    else
     serv_picture = 'button_serv_eng.jpg'
     serv_picture_m = 'button_serv_eng_m.jpg'
    end
  
    if current == 2
      price_picture = 'button_price_eng_c.jpg'
      price_picture_m = 'button_price_eng_cm.jpg'  
    else  
      price_picture = 'button_price_eng.jpg'
      price_picture_m = 'button_price_eng_m.jpg'   
    end
      
    if current == 3
      cont_picture = 'button_cont_eng_c.jpg'
      cont_picture_m = 'button_cont_eng_cm.jpg'
    else
      cont_picture = 'button_cont_eng.jpg'
      cont_picture_m = 'button_cont_eng_m.jpg'
    end
    
    main_link = index_eng_static_pages_path  
    about_link = about_eng_static_pages_path  
    serv_link = service_01_eng_static_pages_path
    price_link = price_eng_static_pages_path
    cont_link = contact_eng_static_pages_path     
   end
%>


<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FF0000">
  <tr>
    <td width="198" background= <%= image_path('menu_bkgr.jpg') %> ></td>
    <td width="13" height="48" valign="top"><img src= <%= image_path('menu_right_border.jpg') %> width="13" height="48"></td>
        <td width="126" height="48" valign="top"><%= link_to(image_tag(main_picture, :name=>"Image15", :width=>"126", :height=>"48", :border=>"0", :id=>"Image15", :onMouseOver=>"MM_swapImage('Image15','','"+image_path(main_picture_m)+"',1)", :onMouseOut=>"MM_swapImgRestore()"), main_link)%></td>
  
        <td width="125" height="48" valign="top"><%= link_to(image_tag(about_picture, :name=>"Image16", :width=>"125", :height=>"48", :border=>"0", :id=>"Image16", :onMouseOver=>"MM_swapImage('Image16','','"+image_path(about_picture_m)+"',1)", :onMouseOut=>"MM_swapImgRestore()"), about_link)%></td>
  
        <td width="126" height="48" valign="top"><%= link_to(image_tag(serv_picture, :name=>"Image12", :width=>"126", :height=>"48", :border=>"0", :id=>"Image12", :onMouseOver=>"MM_swapImage('Image12','','"+image_path(serv_picture_m)+"',1), showSubmenu('01', 'Y')", :onMouseOut=>"MM_swapImgRestore(), showSubmenu('01', 'N')"), serv_link)%></td>                     

        <td width="125" height="48" valign="top"><%= link_to(image_tag(price_picture, :name=>"Image13", :width=>"125", :height=>"48", :border=>"0", :id=>"Image13", :onMouseOver=>"MM_swapImage('Image13','','"+image_path(price_picture_m)+"',1)", :onMouseOut=>"MM_swapImgRestore()"), price_link)%></td>

        <td width="127" height="48" valign="top"><%= link_to(image_tag(cont_picture, :name=>"Image14", :width=>"127", :height=>"48", :border=>"0", :id=>"Image14", :onMouseOver=>"MM_swapImage('Image14','','"+image_path(cont_picture_m)+"',1)", :onMouseOut=>"MM_swapImgRestore()"), cont_link)%></td>                                            

    <td width="13" height="48" valign="top"><img src= <%= image_path('menu_left_border.jpg') %> width="13" height="48"></td>					    
    <td width="198" background= <%= image_path('menu_bkgr.jpg') %> ></td>
  </tr>
</table>